package com.ww.grtsmanager;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;

public class ExcelVo {
    @ExcelProperty("一级类目")
    @ColumnWidth(20)
    private String oneName;
    @ExcelProperty("二级类目")
    @ColumnWidth(20)
    private String twoName;

    public String getOneName() {
        return oneName;
    }

    public void setOneName(String oneName) {
        this.oneName = oneName;
    }

    public String getTwoName() {
        return twoName;
    }

    public void setTwoName(String twoName) {
        this.twoName = twoName;
    }

    public ExcelVo(String oneName, String twoName) {
        this.oneName = oneName;
        this.twoName = twoName;
    }

    public ExcelVo() {
    }

    @Override
    public String toString() {
        return "ExcelVo{" +
                "oneName='" + oneName + '\'' +
                ", twoName='" + twoName + '\'' +
                '}';
    }
}
